<%--
  Created by IntelliJ IDEA.
  User: computer
  Date: 2021/6/14
  Time: 19:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h1 align="center" style="color: #1a54e8">管理中项目</h1>
    <ul class="managerPro" style="padding-left: 0;text-align: center">
    <c:forEach items="${mypro}" var="pro">
        <li>
            <!-- for循环输出项目 -->
            <div class="proma size ">
                <h2>
                    <a style="color: #498aee;" href="#" onclick="proInfo(${pro.proId})">${pro.proName}</a>
                </h2>
                <hr style="margin-bottom: 40px; margin-top: 20px">
                <span style="color: rgb(113, 121, 136); ">项目id:${pro.proId}</span>
                <p style="color: #2aba65;margin: 30px 0 40px 0 ; ">（项目<span style="color: ${pro.isDelete==1?"red":""}">${pro.isDelete==1?"废弃":"进行"}</span>中）</p>
                <p>
                    <a href="#" onclick="editPro(${pro.proId})">编辑</a>
                    <a href="#" onclick="deletePro(${pro.proId}, 0)">废弃</a>
                    <a href="#" onclick="toaddUserToPro(${pro.proId})">添加成员</a>
                </p>
            </div>
            <!-- for循环结束 -->
        </li>
    </c:forEach>
        <li>
            <!-- 添加项目模块 -->
            <div class="proma size ">
                <a style="font-size: 160px; " href="#" onclick="showAddPro()">+</a>
                <div><a href="#" onclick="showAddPro()">创建项目</a></div>
            </div>
        </li>
    </ul>
</body>
</html>
